package com.yenlien.traceyun.business.dao;


import com.yenlien.traceyun.business.entity.Log;
import com.yenlien.traceyun.webase.dao.BaseJpaDao;

import java.util.Date;
import java.util.List;

public interface LogDao extends BaseJpaDao<Log> {
    List<Log> findByUserNameAndOperation(String userName, String operation);

    List<Log> findByOperation(String operation);

    List<Log> findDistinctUserNameByCreatetimeBetween(Date createtime, Date createtime2);

    List<Log> findCompanyIdDistinctByCreatetimeBetween(Date createtime, Date createtime2);


}
